﻿using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace JNPF.Basics.Models.System.Dtos.ModuleColumn
{
    public class ModuleColumnActionsBatchInput
    {
        /// <summary>
        /// 功能主键
        /// </summary>
        [Required(ErrorMessage = "功能主键不能为空")]
        public string moduleId { get; set; }
        /// <summary>
        /// 表格描述	
        /// </summary>
        [Required(ErrorMessage = "表格描述不能为空")]
        public string bindTableName { get; set; }
        /// <summary>
        /// 字段数据
        /// </summary>
        [Required(ErrorMessage = "字段数据不能为空")]
        public List<string> columnJson { get; set; }
        /// <summary>
        /// 绑定表格
        /// </summary>
        [Required(ErrorMessage = "不能为空")]
        public string bindTable { get; set; }
    }
}
